.class Les/pc;
.super Les/hc;
.source "XiaoMi.java"


# static fields
.field private static final b:[Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 3

    const/4 v0, 0x4

    new-array v0, v0, [Ljava/lang/String;

    const/4 v1, 0x0

    const-string v2, "com.miui.securitycenter"

    aput-object v2, v0, v1

    const/4 v1, 0x1

    const-string v2, "com.miui.permcenter.permissions.PermissionsEditorActivity"

    aput-object v2, v0, v1

    const/4 v1, 0x2

    const-string v2, "com.miui.permcenter.permissions.AppPermissionsEditorActivity"

    aput-object v2, v0, v1

    const/4 v1, 0x3

    const-string v2, "com.miui.permcenter.MainAcitivty"

    aput-object v2, v0, v1

    .line 1
    sput-object v0, Les/pc;->b:[Ljava/lang/String;

    return-void
.end method

.method constructor <init>(Ljava/lang/String;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Les/hc;-><init>(Ljava/lang/String;)V

    return-void
.end method

.method private b()Z
    .locals 3

    .line 4
    invoke-static {}, Lcom/esfile/screen/recorder/utils/g;->a()Ljava/lang/String;

    move-result-object v0

    .line 5
    sget-object v1, Landroid/os/Build;->MODEL:Ljava/lang/String;

    if-eqz v1, :cond_0

    .line 6
    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    const-string v2, "Redmi"

    invoke-virtual {v1, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_0

    if-eqz v0, :cond_0

    .line 7
    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    const-string v1, "8"

    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    return v0

    :cond_0
    const/4 v0, 0x1

    return v0
.end method


# virtual methods
.method public a()Z
    .locals 1

    .line 1
    invoke-static {}, Lcom/esfile/screen/recorder/utils/g;->g()Z

    move-result v0

    return v0
.end method

.method public a(Landroid/content/Context;Ljava/lang/String;)Z
    .locals 0

    const/4 p1, 0x1

    return p1
.end method

.method public b(Landroid/content/Context;)I
    .locals 3

    .line 1
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x1a

    if-lt v0, v1, :cond_0

    const/16 p1, 0x7f6

    return p1

    :cond_0
    const/16 v1, 0x19

    const/16 v2, 0x7d3

    if-lt v0, v1, :cond_1

    return v2

    :cond_1
    const/16 v1, 0x17

    if-lt v0, v1, :cond_2

    return v2

    .line 2
    :cond_2
    invoke-static {p1}, Les/hc;->c(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_3

    return v2

    .line 3
    :cond_3
    invoke-direct {p0}, Les/pc;->b()Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-static {p1}, Les/hc;->d(Landroid/content/Context;)Z

    move-result p1

    if-eqz p1, :cond_4

    const/16 p1, 0x7d5

    return p1

    :cond_4
    return v2
.end method
